package com.tjnu.losca.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tjnu.losca.pojo.Advice;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 意见表 服务类
 * </p>
 *
 * @author losca
 * @since 2022-02-14
 */
public interface IAdviceService extends IService<Advice> {

    boolean save(String username, String text);

    IPage<Advice> getAll(int pageNum, int pageSize);

    boolean del(String id);

    boolean reply(String username, String email, String reply);
}
